package com.ruoyi.exam_approval.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 考试报名审核信息对象 tb_exam_approval
 * 
 * @author ruoyi
 * @date 2024-12-02
 */
public class TbExamApproval extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 报名号 */
    private Long id;

    /** 考生id */
    @Excel(name = "考生id")
    private Long candidateId;

    /** 考生号 */
    @Excel(name = "考生号")
    private String examNumber;

    /** 审批通过状态  */
    @Excel(name = "审批通过状态 ")
    private String approvalStatus;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date approvalTime;

    /** 审核备注 */
    @Excel(name = "审核备注")
    private String approvalComments;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCandidateId(Long candidateId) 
    {
        this.candidateId = candidateId;
    }

    public Long getCandidateId() 
    {
        return candidateId;
    }
    public void setExamNumber(String examNumber) 
    {
        this.examNumber = examNumber;
    }

    public String getExamNumber() 
    {
        return examNumber;
    }
    public void setApprovalStatus(String approvalStatus) 
    {
        this.approvalStatus = approvalStatus;
    }

    public String getApprovalStatus() 
    {
        return approvalStatus;
    }
    public void setApprovalTime(Date approvalTime) 
    {
        this.approvalTime = approvalTime;
    }

    public Date getApprovalTime() 
    {
        return approvalTime;
    }
    public void setApprovalComments(String approvalComments) 
    {
        this.approvalComments = approvalComments;
    }

    public String getApprovalComments() 
    {
        return approvalComments;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("candidateId", getCandidateId())
            .append("examNumber", getExamNumber())
            .append("approvalStatus", getApprovalStatus())
            .append("approvalTime", getApprovalTime())
            .append("approvalComments", getApprovalComments())
            .toString();
    }
}
